package com.itheima.mvcconfig;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@ComponentScan("com.itheima")  //包扫描
@EnableWebMvc //开启springMvc的支持
public class SpringMvcConfig implements WebMvcConfigurer {
}
